<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>

<script src="/js/tools.js"></script>
<script>
    // 本地存储 从本地存储里面获取指定的值 key:value
    let business = localStorage.getItem('business');

    // console.log(business);
    if(!business)
    {
        notice('请先登录','login.html');
    }
</script>